﻿@model IEnumerable<ETA.Entity.WorkType>

@{
    ViewBag.Title = "赴日技能实习项目选择";
}


<div class="containerProject">
    <ul class="ulProject">

        @{
            var counter = 0;
            foreach (var m in Model)
            {
                counter++;
            <li>
                <h3><span class="prefexNum">@counter</span>@m.WorkTypeName</h3>
                @if (m.ProjectTypeList.Any())
                {
                    var strFormate = "含{0}等";
                    var projectStr = string.Empty;
                    var index = 0;
                    foreach (var p in m.ProjectTypeList)
                    {
                        if (index == 0)
                        {
                            projectStr += p.ProjectTypeName;
                        }
                        else
                        {
                            projectStr += "," + p.ProjectTypeName;
                        }
                        index++;
                    }
                    <p>@string.Format(strFormate, projectStr)</p>
                }
            </li>
            
            }
        }
    </ul>
</div>
   <div class="clear"></div>
<div class="divButton"><button type="button" class="btn btn-default btn-lg btn-block" id="btnSave">保存</button></div>

